package com.lxw.report.meta.enums;

/**
 * Created by Administrator on 2019/7/25 9:27
 */
public enum DbPoolEnum {
    Druid,HiKariCP;

    public static DbPoolEnum getByName(String name){
        for(DbPoolEnum dbPoolEnum:DbPoolEnum.values()){
            if(dbPoolEnum.name().equals(name)){
                return dbPoolEnum;
            }
        }
        return null;
    }
}
